package com.liu.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 刘浩然
 * @Date: 2020/3/25 14:22
 */
@RestController
public class HelloController {
    @GetMapping("/admin/hello")
public String admin(){
    return "Hello admin";
}
@GetMapping("/user/hello")
public String user(){
        return "Hello user!";
}
@GetMapping("/hello")
public String hello(){
        return "hello";
}
}
